package cn.com.surker.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 按钮角色表
 * </p>
 *
 * @author lucky
 * @since 2021-02-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysButtonRole implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    private Long uid;

    /**
     * 菜单ID
     */
    private Long menuId;

    /**
     * 按钮ID
     */
    private Long btnId;

    /**
     * 状态(0:启用，1：禁用，2删除)
     */
    private Integer status;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
